package it.allerj.model;

import it.allerj.common.persistence.PersistenceObject;

import java.util.Date;
import java.util.List;
import java.util.Set;

/**
 * @author Alessandro Veracchi
 * @version 1.0
 * @created 12-apr-2008 12.10.03
 */
public class Patient extends PersistenceObject {

    private static final long serialVersionUID = 1L;
    private String name;
    private String surname;
    private boolean male = true;
    //private boolean female = false;
    //private boolean sex = male;
    private Date birthDate;
    private String telephone;
    private String mobile;
    private String email;
    private Set<AllergicTest> allergicTestSet;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSurname() {
        return surname;
    }

    public void setSurname(String surname) {
        this.surname = surname;
    }

    public Date getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(Date birthDate) {
        this.birthDate = birthDate;
    }

    public Set<AllergicTest> getAllergicTestSet() {
        return allergicTestSet;
    }

    public void setAllergicTestSet(Set<AllergicTest> allergicTestList) {
        this.allergicTestSet = allergicTestList;
    }

    public boolean isMale() {
        return male;
    }

    public void setMale(boolean male) {
        this.male = male;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

}
